﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Airline
    {
        static void Main(string[] args)
        {
            
            Airbus_A310_304 Airbus_A310_304 = new Airbus_A310_304();
            Airbus_A319 Airbus_A319 = new Airbus_A319();
            Airbus_A320_200 Airbus_A320_200 = new Airbus_A320_200();
            Boeing_737_400 Boeing_737_400 = new Boeing_737_400();
            Boeing_737_800 Boeing_737_800 = new Boeing_737_800();
            Boeing_767_300ER Boeing_767_300ER = new Boeing_767_300ER();
            Show B = new Show();
            Airbus_A310_304.CreateAircraft(Airbus_A310_304, 1, 255);
            Airbus_A319.CreateAircraft("Airbus_A319", 20, 128);
            Airbus_A320_200.CreateAircraft("Airbus_A320_200", 15, 128);
            Boeing_737_400.CreateAircraft("Boeing_737_400", 4, 165);
            Boeing_737_800.CreateAircraft("Boeing_737_800", 9, 172);
            Boeing_767_300ER.CreateAircraft("Boeing_767_300ER", 2, 240);
            B.Shows(Airbus_A310_304);
            B.Shows(Airbus_A319);
            B.Shows(Airbus_A320_200);
            B.Shows(Boeing_737_400);
            B.Shows(Boeing_737_800);
            B.Shows(Boeing_767_300ER);
            GetTotalCapacity D = new GetTotalCapacity();
            D.Gettotalcapacuty(Airbus_A310_304, Airbus_A319, Airbus_A320_200, Boeing_737_400, Boeing_737_800, Boeing_767_300ER);
            Console.ReadLine();


        }

    
    }
}
